<template>
  <div class="border">
    <div class="dotted"></div>
    <!-- 内容区 -->
    <div class="border_span">
      <span>{{ num }}</span>
      <span>{{ text }}</span>
    </div>
    <div class="dotted"></div>
  </div>
</template>

<script>
export default {
  props: ["num", "text"], // 接收传值
};
</script>

<style scoped>
.border {
  width: 95%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px auto;
}

.dotted {
  width: 550px;
  height: 1px;
  border: 1px dashed #666;
}

.border_span span:nth-child(1) {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #4e8cfe;
  text-align: center;
  line-height: 20px;
  font-size: 12px;
  color: white;
  margin-right: 10px;
}
</style>